package com.ywd.materials.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 盘库明细实体类
 */
@Accessors(chain = true)
@Data
@TableName("materials_inventory_detail")
public class MaterialsInventoryDetailEntity implements Serializable {

    /**
     * 盘库明细ID
     */
    @Schema(description = "盘库明细ID")
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 盘库记录ID
     */
    @Schema(description = "盘库记录ID")
    private Long recordId;
    /**
     * 物资ID
     */
    @Schema(description = "物资ID")
    private Long goodsId;
    /**
     * 物资装箱ID
     */
    @Schema(description = "物资装箱ID")
    private String goodsPkgId;
    /**
     * 箱规格
     */
    @Schema(description = "箱规格")
    private Integer boxSize;
    /**
     * 处理状态(0=未处理/未扫码,1=已处理/已扫码)
     */
    @Schema(description = "处理状态(0=未处理/未扫码,1=已处理/已扫码)",defaultValue = "0")
    private Integer status;
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;
    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;
}
